package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/6/13 20:56
 * @since JDK 1.8
 */
@SpringBootApplication
@EnableFeignClients
@EnableHystrix //开启熔断器
public class FeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignApplication.class, args);
    }

}
